package cn.stylefeng.guns.modular.transport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 承运商运费信息表
 * </p>
 *
 * @author like
 * @since 2024-10-15
 */
@TableName("transport_carrier_freight")
public class TransportCarrierFreight implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Integer operateId;

    /**
     * 项目名称
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 发车日期
     */
    @TableField("start_date")
    private Date startDate;

    /**
     * 运输单号
     */
    @TableField("dispatch_number")
    private String dispatchNumber;

    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private Integer carrierId;

    /**
     * 承运商名称
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 车牌号
     */
    @TableField("carnumber")
    private String carnumber;

    /**
     * 司机名称
     */
    @TableField("driver1")
    private String driver1;

    /**
     * 司机联系方式
     */
    @TableField("tel1")
    private String tel1;

    /**
     * 车辆类型
     */
    @TableField("privatecar_type")
    private String privatecarType;

    /**
     * 行驶里程
     */
    @TableField("mileage_traveled")
    private BigDecimal mileageTraveled;

    /**
     * 总体积
     */
    @TableField("total_volume")
    private BigDecimal totalVolume;

    /**
     * 总件数
     */
    @TableField("total_pieces")
    private BigDecimal totalPieces;

    /**
     * 整件拆零和
     */
    @TableField("piece_number_sum")
    private BigDecimal pieceNumberSum;

    /**
     * 总运费
     */
    @TableField("freight_money")
    private BigDecimal freightMoney;

    /**
     * 参考运费
     */
    @TableField("consult_money")
    private BigDecimal consultMoney;

    /**
     * 装车费
     */
    @TableField("loading_money")
    private BigDecimal loadingMoney;

    /**
     * 卸车费
     */
    @TableField("unloading_money")
    private BigDecimal unloadingMoney;

    /**
     * 备注原因
     */
    @TableField("notes")
    private String notes;

    /**
     * 流程状态
     */
    @TableField("rec_status")
    private String recStatus;

    @TableField("dept_id")
    private Long deptId;

    @TableField("deliver_id")
    private Long deliverId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOperateId() {
        return operateId;
    }

    public void setOperateId(Integer operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getDispatchNumber() {
        return dispatchNumber;
    }

    public void setDispatchNumber(String dispatchNumber) {
        this.dispatchNumber = dispatchNumber;
    }

    public Integer getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Integer carrierId) {
        this.carrierId = carrierId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    public String getDriver1() {
        return driver1;
    }

    public void setDriver1(String driver1) {
        this.driver1 = driver1;
    }

    public String getTel1() {
        return tel1;
    }

    public void setTel1(String tel1) {
        this.tel1 = tel1;
    }

    public String getPrivatecarType() {
        return privatecarType;
    }

    public void setPrivatecarType(String privatecarType) {
        this.privatecarType = privatecarType;
    }

    public BigDecimal getMileageTraveled() {
        return mileageTraveled;
    }

    public void setMileageTraveled(BigDecimal mileageTraveled) {
        this.mileageTraveled = mileageTraveled;
    }

    public BigDecimal getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(BigDecimal totalVolume) {
        this.totalVolume = totalVolume;
    }

    public BigDecimal getTotalPieces() {
        return totalPieces;
    }

    public void setTotalPieces(BigDecimal totalPieces) {
        this.totalPieces = totalPieces;
    }

    public BigDecimal getPieceNumberSum() {
        return pieceNumberSum;
    }

    public void setPieceNumberSum(BigDecimal pieceNumberSum) {
        this.pieceNumberSum = pieceNumberSum;
    }

    public BigDecimal getFreightMoney() {
        return freightMoney;
    }

    public void setFreightMoney(BigDecimal freightMoney) {
        this.freightMoney = freightMoney;
    }

    public BigDecimal getConsultMoney() {
        return consultMoney;
    }

    public void setConsultMoney(BigDecimal consultMoney) {
        this.consultMoney = consultMoney;
    }

    public BigDecimal getLoadingMoney() {
        return loadingMoney;
    }

    public void setLoadingMoney(BigDecimal loadingMoney) {
        this.loadingMoney = loadingMoney;
    }

    public BigDecimal getUnloadingMoney() {
        return unloadingMoney;
    }

    public void setUnloadingMoney(BigDecimal unloadingMoney) {
        this.unloadingMoney = unloadingMoney;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getRecStatus() {
        return recStatus;
    }

    public void setRecStatus(String recStatus) {
        this.recStatus = recStatus;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    @Override
    public String toString() {
        return "TransportCarrierFreight{" +
        "id=" + id +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", startDate=" + startDate +
        ", dispatchNumber=" + dispatchNumber +
        ", carrierId=" + carrierId +
        ", carrierName=" + carrierName +
        ", carnumber=" + carnumber +
        ", driver1=" + driver1 +
        ", tel1=" + tel1 +
        ", privatecarType=" + privatecarType +
        ", mileageTraveled=" + mileageTraveled +
        ", totalVolume=" + totalVolume +
        ", totalPieces=" + totalPieces +
        ", pieceNumberSum=" + pieceNumberSum +
        ", freightMoney=" + freightMoney +
        ", consultMoney=" + consultMoney +
        ", loadingMoney=" + loadingMoney +
        ", unloadingMoney=" + unloadingMoney +
        ", notes=" + notes +
        ", recStatus=" + recStatus +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
